package java_01_20201028;

import java.util.Random;

public class zuoye4 {
	public static void main(String[] args) {
		Random a=new Random();
		int b=a.nextInt(12)+1;
		int c=a.nextInt(30)+1;
		switch(b) {
		case 1:
			System.out.println(b);
			System.out.println(c);
			break;
		case 2:
			int d=31+c;
			System.out.println(b);
			System.out.println(d);
			break;
		case 3:
			int e=60+c;
			System.out.println(b);
			System.out.println(e);
			break;
		case 4:
			int f=91+c;
			System.out.println(b);
			System.out.println(f);
			break;
		case 5:
			int g=121+c;
			System.out.println(b);
			System.out.println(g);
			break;
		case 6:
			int h=152+c;
			System.out.println(b);
			System.out.println(h);
			break;
		case 7:
			int i=182+c;
			System.out.println(b);
			System.out.println(i);
			break;
		case 8:
			int j=203+c;
			System.out.println(b);
			System.out.println(j);
			break;
		case 9:
			int k=234+c;
			System.out.println(b);
			System.out.println(k);
			break;
		case 10:
			int l=264+c;
			System.out.println(b);
			System.out.println(l);
			break;
		case 11:
			int m=295+c;
			System.out.println(b);
			System.out.println(m);
			break;
		case 12:
			int n=326+c;
			System.out.println(b);
			System.out.println(n);
			break;
		
		
		
		}
		
		
		
	}
}
